﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="UserSettings.aspx.vb" MasterPageFile="~/MasterPages/Maintenance.Master" Inherits="Trebuchet.UserSettings" %>
<%@ MasterType  virtualPath="~/MasterPages/Maintenance.Master"%>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">

    <header>

        <div>
	        <h1><a href="/">Trebuchet <small>Alpha</small></a></h1>
	        <nav>
		        <ul>
			        <li><a class="zing" href="play.html">Start Game</a></li>
			        <li><a href="dashboard.html">Dashboard</a></li>
			        <li><a href="UserSettings.aspx">Settings</a></li>
                    <li><a href="signout.html">Sign Out</a></li>
		        </ul>
	        </nav>
        <div class="clear"></div>

        <script language="JavaScript" type="text/javascript" src="/js/facebook.js" charset="iso-8859-1">
        </script>

    </header>
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="cphButtonBar" runat="server">
    <asp:Button ID="cmdSave" runat="server" Text="Save" />
    <asp:Button ID="cmdExit" runat="server" Text="Exit" />
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="cphContent" runat="server">   

    <div id="divEmail">
        <asp:Label ID="lblEmail" runat="server">Email: </asp:Label>
        <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
    </div>
    <div id="divFullName">
        <asp:Label ID="lblFullName" runat="server">Full Name: </asp:Label>
        <asp:TextBox ID="txtFullName" runat="server"></asp:TextBox>
    </div>
    <div id="divNickName">
        <asp:Label ID="lblNickName" runat="server">NickName: </asp:Label>
        <asp:TextBox ID="txtNickName" runat="server"></asp:TextBox>
    </div>
    <div id="divJoinDate">
        <asp:Label ID="lblJoinDate" runat="server">Join Date</asp:Label>
        <asp:TextBox ID="txtJoinDate" runat="server"></asp:TextBox>
    </div>
    <div id="divInvitedBy">
        <asp:Label ID="lblInvitedBy" runat="server">Invited by User .......</asp:Label>
        <asp:TextBox ID="txtInvitedBy" runat="server"></asp:TextBox>
    </div>

    <asp:Panel ID="pnlChangePassword" runat="server" GroupingText="Change Password" >

        <div>
            <asp:Label ID="lblChangePasswordCurrent" runat="server">Current Password</asp:Label>
            <asp:TextBox  ID="txtChangePasswordCurrent" TextMode="Password" runat="server"></asp:TextBox>
        </div>
        <div>
            <asp:Label ID="lblChangePasswordNew" runat="server">New Password</asp:Label>
            <asp:TextBox ID="txtChangePasswordNew" TextMode="Password" runat="server"></asp:TextBox>
        </div>
        <div>
            <asp:Label ID="lblChangePasswordNewConfirm" runat="server">Confirm New Password</asp:Label>
            <asp:TextBox ID="txtChangePasswordNewConfirm" TextMode="Password" runat="server"></asp:TextBox>
        </div>
        <div>
            <asp:Button ID="cmdChangePassword" runat="server" Text="Change Password"/>
        </div>
    </asp:Panel>

    <div id="divEmailAlerts">
        <asp:Label ID="lblAllowEmailNotifications" runat="server">Allow Email Notifications</asp:Label>
        <asp:CheckBox ID="chkAllowEmailNotifications" runat="server"></asp:CheckBox>
    </div>
    <div id="divFacebookAlerts">
        <asp:Label ID="lblAllowFacebookNotifications" runat="server">Allow Facebook Notifications</asp:Label>
        <asp:CheckBox ID="chkAllowFacebookNotifications" runat="server"></asp:CheckBox>
    </div>
    <div>
        <asp:Label ID="lblAllowPhoneNotifications" runat="server">Allow Phone Notifications</asp:Label>
        <asp:CheckBox ID="chkAllowPhoneNotifications" runat="server"></asp:CheckBox>
    </div>
    <div id="divManageFacebookResetPassword">
        <!--<asp:Button ID="cmdResetPassword" runat="server" Text = "Reset Password" />-->
        <asp:Button ID="cmdConnectFacebook" runat="server" Text="Connect to Facebook" class="fb-login-button" scope="email"/>
        <asp:Button ID="cmdDeactivateFacebook" runat="server" Text="Deactivate Facebook" />
    </div>

</asp:Content>
